﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MotionBottonTriggle : MonoBehaviour
{
    public MotionStateMgr recv_ = null;

    private void OnTriggerEnter2D(Collider2D collision)
    {
        if (recv_ != null) {
            recv_.OnTriggleBottom();
        }
    }


    private void OnTriggerExit2D(Collider2D collision)
    {
        if (recv_ != null)
        {
            recv_.OffTriggleBottom();
        }
    }
}
